package hu.diploma.common.response;

import java.io.Serializable;

import hu.diploma.common.errorcode.ErrorCode;

public class Response implements Serializable{
	private ErrorCode errorCode;
	private boolean succes;

	public void setErrorCode(ErrorCode errorCode) {
		this.errorCode = errorCode;
	}

	public ErrorCode getErrorCode() {
		return this.errorCode;
	}

	public void setSucces(boolean succes) {
		this.succes = succes;
	}

	public boolean isSucces() {
		return succes;
	}

}
